// 测试模块接口
import { AxiosRequestConfig } from 'axios';
import interceptors from './config/interceptor';
import { InstanceMethod } from './models/ApiModels';

interface UpdateMessageParams {
  orderId: number, // 订单id
  busMessage: string, // 备注信息
}

const { post }: InstanceMethod = interceptors;
const testApi = {
  // 修改备注信息
  updateMessage: (params: UpdateMessageParams, config?: AxiosRequestConfig) => post('/order/pc/order/update-message', params, config),
};

export default testApi;
